﻿@ModelType VirtualDisambiguationPageModel

@Code
    Dim SuggestSearch As Boolean = ViewData.ContainsKey("SuggestSearch")
End Code

<ul class="action-menu">
    <li><h1>דפים תחת השם '@Model.Title'</h1></li>
    @If SuggestSearch Then
        @<li class="on-end">@Html.ActionLink("חפש " & ViewData("SuggestSearch"), "Search", New With {.page = ViewData("SuggestSearch")})</li>
    End If
</ul>

<div class="container">
    <div class="page-content col-md-12">
        <ul>
            @For Each p In Model.Pages
                @<li>@Html.ActionLink(p, "FetchExact", New With {.page = p}, New With {.title = p, .class = "page-link"})</li>
            Next
        </ul>

        @Html.Raw(WikiModel.Instance.CreateTaggedHereList(Model.Title, Html))

    </div>
</div>

<hr />
<footer>
    <p>@Model.GetFooterText()</p>
</footer>
